using Microsoft.SqlServer.Tools.PublishWizard.Helpers;
using System;

namespace Microsoft.SqlServer.Management.SqlManagerUI.Scripting
{
	public class ProgressEventArgs : EventArgs
	{
		private string _status;

		private ProgressEventType _type;

		public string Status
		{
			get
			{
				return this._status;
			}
		}

		public ProgressEventType EventType
		{
			get
			{
				return this._type;
			}
		}

		public ProgressEventArgs(string status)
		{
			ArgumentValidationHelpers.ValidateNotNull(status, "status");
			this._status = status;
		}

		public ProgressEventArgs(string status, ProgressEventType eventType)
		{
			ArgumentValidationHelpers.ValidateStringNotNullOrEmpty(status, "status");
			ArgumentValidationHelpers.ValidateNotNull(eventType, "eventType");
			this._status = status;
			this._type = eventType;
		}
	}
}
